package com.victor.dao;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.GlcommentsPraise;
@Mapper
public interface GlcommentsPraiseDao {
	/**
	 * 删除
	 * @param id
	 * @return
	 */
    boolean deleteByPrimaryKey(Integer id);
    /**
     * 添加
     * @param record
     * @return
     */
    boolean insertSelective(GlcommentsPraise record);

    GlcommentsPraise selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GlcommentsPraise record);

    int updateByPrimaryKey(GlcommentsPraise record);
    /**
     * 查询点赞
     * @param glcommentsPraise
     * @return
     */
	GlcommentsPraise selBycommentspraise(GlcommentsPraise glcommentsPraise);
	/**
	 * 查询点赞数
	 * @param gcid
	 * @return
	 */
	Integer selPraiseCount(String gcid);
}